What is capital of greece before athens?

The capital of Greece before Athens was the city of Corinth. It was a major center of trade and commerce in ancient Greece, located on the Isthmus of Corinth between the Gulf of Corinth and the Saronic Gulf. The city was renowned for its wealth, as it controlled the lucrative trade routes that connected the Peloponnese peninsula with the north and east of Greece. Corinth was also an important cultural and intellectual center, home to philosophers, poets, and artists. However, the city declined in the 4th century BC after it was sacked by the Roman general Lucius Mummius, and Athens became the dominant city of Greece.